package main;

import javax.swing.JScrollPane;

public class AISModuleScrollPane extends JScrollPane {

	private AISTable modulesTable;
	public int selected_row;
	
	public AISModuleScrollPane(){
		super(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
		modulesTable = new AISTable();
        setColumnHeaderView(modulesTable.getTableHeader());
        setViewportView(modulesTable);
	}
	
	public AISTable getTable(){
		return modulesTable;
	}
}
